<!DOCTYPE html>
<title>Synthesized viewBox/preserveAspectRatio for &lt;img>, intrinsic width</title>
<div id="testContainer"></div>
<script src="../as-object/sizing/svg-in-object.js"></script>
<script src="resources/synthesized-viewbox-par-helper.js"></script>
<script>
'use strict';

doCombinationTest(
  [[ "svgWidthAttr", [ "200px" ]],
   [ "svgHeightAttr", [ "200px", "100%" ]],
   [ "placeholderWidthAttr", [ "100px", "auto" ]],
   [ "placeholderHeightAttr", [ "100px", "auto" ]]],
  function(config) {
    document.body.appendChild(makeImage(config));
  });
</script>
